import 'package:flame/game.dart';
import 'package:flutter/material.dart';

import 'rogue_shooter_game.dart';

class RogueShooterWidget extends StatelessWidget {
  const RogueShooterWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar:
            AppBar(backgroundColor: Colors.black, title: Text('rogue_shooter')),
        body: GameWidget(
          game: RogueShooterGame(),
          loadingBuilder: (_) => const Center(
            child: Text('Loading'),
          ),
        ));
  }
}
